import Vue from 'vue'
//调用原生文件系统管理器并选取文件获取文件地址
import PickFile from './function/PickFile.js'
//时间处理函数
import {transfor_date,getBeforeDate} from './function/time.js'
// 规则检验
import test from './function/test.js'
// 主题相关颜色,info|success|warning|primary|default|error
import color from './function/color.js'
//设置主题
import setThemeColor from './function/setThemeColor.js'
// 生成全局唯一guid字符串
import guid from './function/guid.js'
//动态禁用、启用下拉刷新
import refresh from './function/refresh.js'
//计算文件[大小，格式]
import lzfile from './function/file.js'
// 各个需要fixed的地方的z-index配置文件
import zIndex from './function/zIndex.js'
//time 时间格式
import timeFormat from './function/timeFormat.js'
// 时间戳格式化,返回多久之前
import timeFrom from './function/timeFrom.js'
//导航【返回】
import lznavigate from './function/navigate.js'
//websocket连接
import lzwebSocket from './function/webSocket.js'
//sqlite数据库
import lzsqlite from './function/sqlite.js'
//获取节点信息
import getRect from './function/getRect.js'
//量子相关配置
import QSS from './function/QSS.js'
// 图像转换工具，可用于图像和base64的转换为路径
import imageTools from './function/imageTools.js'
//富文本编码
import htmlUtil from './function/htmlUtil.js'
//蓝牙
import bluetooth from './function/bluetooth.js'
//转码
import scale from './function/scale.js'
const $lizhao={
	test,
	timeFormat,
	timeFrom,
	color,
	guid,
	zIndex,
	refresh,
	lzfile,
	lznavigate,
	lzwebSocket,
	lzsqlite,
	getRect,
	QSS,
	imageTools,
	htmlUtil,
	bluetooth,
	scale,
	setThemeColor,
}
Vue.prototype.$lizhao = $lizhao
uni.$lizhao=$lizhao